﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NewDDSys.Entity;
using System.Data;

namespace NewDDSys.IBLL
{
    public interface IYhBLL
    {
        int AddYh(YhInfo yh);
        int UpdateYh(string num, string danwei, string bumen, string gang, string xm, string pass);
        int UpdatePass(string danwei, string bumen, string gang, string xm, string Npass);
        int Del(string num);
        DataSet Select(string num);
        DataSet SelectAll();
        bool IsHave(string danwei, string bumen, string gang, string xm, string pass);
        DataSet NameByDB(string danwei, string bumen, string gang);
        DataSet BMByDW(string danwei);
        DataSet GByDB(string danwei, string bumen);
        string AUTOID();
        int UpdateBanzu(string num, string banzu);
    }
}
